3.1 Terminal Mode Commands
The following commands are implemented:
dump memtype addr nbytes
- Read nbytes from the specified memory area, and display them in
the usual hexadecimal and ASCII form.
dump
- Continue dumping the memory contents for another nbytes where the
previous dump command left off.
write memtype addr byte1 ... byteN
- Manually program the respective memory cells, starting at address addr,
using the values byte1 through byteN. This feature is not
implemented for bank-addressed memories such as the flash memory of
ATMega devices.
erase
- Perform a chip erase.
send b1 b2 b3 b4
- Send raw instruction codes to the AVR device. If you need access to a
feature of an AVR part that is not directly supported by AVRDUDE, this
command allows you to use it, even though AVRDUDE does not implement the
command.
sig
- Display the device signature bytes.
part
- Display the current part settings and parameters. Includes chip
specific information including all memory types supported by the
device, read/write timing, etc.
?
help
- Give a short on-line summary of the available commands.
quit
- Leave terminal mode and thus AVRDUDE.
In addition, the following commands are supported on the STK500
programmer:
vtarg voltage
- Set the target's supply voltage to voltage Volts.
varef voltage
- Set the adjustable voltage source to voltage Volts.
This voltage is normally used to drive the target's
Aref input on the STK500.
fosc freq[M|k]
- Set the master oscillator to freq Hz.
An optional trailing letter M
multiplies by 1E6, a trailing letter k by 1E3.
fosc off
- Turn the master oscillator off.
sck period
- STK500 only:
Set the SCK clock period to period microseconds.
JTAG ICE only:
Set the JTAG ICE bit clock period to period microseconds.
Note that unlike STK500 settings, this setting will be reverted to
its default value (approximately 1 microsecond) when the programming
software signs off from the JTAG ICE.
parms
- STK500 only:
Display the current voltage and master oscillator parameters.
JTAG ICE only:
Display the current target supply voltage and JTAG bit clock rate/period.
This document was generated
by root on January, 24 2006
using texi2html